interface Tree {
  label: string;
  id: number;

  children?: Tree[];
}
interface Tree2 {
  label: string;
  id: number;
  parent: number;
  children?: Tree[];
}

export type { Tree, Tree2 };
